package com.feshfans.byteconvert.data;

import com.feshfans.byteconvert.annotation.Bytes;
import ognl.OgnlException;

public class TestData2 extends ConvertData {

    @Bytes(sort = 1,length = 1)
    private byte b;
    @Bytes(sort = 2,length = 2)
    private short s;
    @Bytes(sort = 3,lengthExpr = "b+5")
    private String str;

    public TestData2() throws OgnlException {
        super();
    }

    public byte getB() {
        return b;
    }

    public void setB(byte b) {
        this.b = b;
    }

    public short getS() {
        return s;
    }

    public void setS(short s) {
        this.s = s;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }
}
